<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Contact extends Model
{
    use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'contact';

    protected $fillable = [
        'type',
        'name',
        'mobile',
        'content',
    ];

    const TYPE = [
        1 => '商务合作',
        2 => '广告洽谈',
    ];
}
